home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr37 / ho5m.zip / OMI.TXT < prev    next >
Text File  |  1995-03-03  |  24KB  |  629 lines

  1.  
  2.  
  3.           HANDS ON  Remote Access  File Transfers    Page 1
  4.  
  5.  
  6.  
  7.  
  8.  
  9.           This Product is Shareware, if you continue to use it
  10.  
  11.           Please Register to legalise your usage
  12.  
  13.  
  14.  
  15.                              _______
  16.                         ____|__     |               (R)
  17.                      --|       |    |-------------------
  18.                        |   ____|__  |  Association of
  19.                        |  |       |_|  Shareware
  20.                        |__|   o   |    Professionals
  21.                      -----|   |   |---------------------
  22.                           |___|___|    Member
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.           Table of Contents                                          page #
  30.  
  31.  
  32.           1.0   Introduction
  33.           2.0   Installation
  34.                 2.1  Trigger Strings
  35.           3.0   Normal Operation
  36.           4.0   Sample File Transfer Sequences
  37.                 4.1   Backups and similar file transfers
  38.                 4.2   File encryption
  39.           5.0   SUPPORT and the ASP
  40.           6.0   Warranty
  41.           7.0   Acknowledgments
  42.  
  43.           1.0 Introduction
  44.  
  45.           The Hands On remote access software package uses the OMNI
  46.           modem manager and file transfer package (OMI.EXE and family)
  47.           because its very fast and can link many kinds of computers.
  48.           You will notice that OMI is used interchangeably as an
  49.           abbreviation of OMNI.  OMNI will allow you to transfer files
  50.           between your PC and any system that can run omiget and
  51.           omiput.  The source code for omiput and omiget is available to
  52.           registered users for porting them to other systems (We assume
  53.           a UNIX bias).  In addition to being relatively efficient
  54.           (about as fast as Zmodem and hydracom), the file transfers can
  55.  
  56.  
  57.  
  58.  
  59.  
  60.           HANDS ON  Remote Access  File Transfers    Page 2
  61.  
  62.  
  63.  
  64.           take place in the background while you use your DOS PC for
  65.           other tasks.  The background file transfers will be a
  66.           lifesaver for some people.  This version of OMNI can be used
  67.           with the TELEMENU for its editor and to make local and remote
  68.           file management much easier.
  69.  
  70.           OMNI can be installed to automate dialing and log-in
  71.           sequences, saving time and frustration at the start of each
  72.           session.  Check the WIZARD.txt for information on how to
  73.           completely automate entire sessions.
  74.  
  75.           OMNI uses its own terminal emulation, which is very
  76.           efficient.  Omi220 basically emulates a VT220 (or VT100)
  77.           terminal.
  78.  
  79.           OMNI will allow you to connect an IBM PC to a mini-computer
  80.           either directly or via a modem and telephone line.
  81.  
  82.           The OMNI package allows you to transparently swap in Omen
  83.           Technology's DSZ file transfer package, which handles bad
  84.           phone lines very well.  Although, its likely that if the phone
  85.           lines get too noisy you will find HANDS ON too frustrating to
  86.           use for remote access because it spends too much time
  87.           correcting and re-sending screen updates to replace previous
  88.           damaged ones.  Of course, DSZ defines compatibility and has a
  89.           range of nifty file transfer features.
  90.  
  91.           Portions of the Hands On distribution actually alter other
  92.           .exes in the distribution.  This sharply reduces RAM memory
  93.           usage and .EXE file size while increasing speed, but you may
  94.           find virus checkers that go bonkers.  Also, if you pklite or
  95.           diet the .EXE's to make them smaller, you will be destroying
  96.           vital configuration information in the individual .EXE.
  97.  
  98.  
  99.           The HO.txt has sample scenarios or session setups as follows:
  100.           APPENDIX A - Configuration Scenarios
  101.                A1    Consultant/Client via Modem
  102.                A2    Remote/Shared via Modem
  103.                A3    Laptop/Desktop via Direct Cable
  104.                A4    Remote/Shared via Common Mini-computer
  105.                A5    Home/Office via Modem
  106.  
  107.  
  108.           2.0 Installation
  109.  
  110.           The installation and configuration process actually modifies
  111.           several files including:  OMIGET.EXE, OMIPUT.EXE, HOTALK.EXE,
  112.  
  113.  
  114.  
  115.  
  116.  
  117.           HANDS ON  Remote Access  File Transfers    Page 3
  118.  
  119.  
  120.  
  121.           HODIAL.EXE, HOEXTR.EXE, HOEXTS.EXE and HOMODSET.EXE.  The
  122.           package is installed by editing a configuration file.  For you
  123.           more technical people, a typical configuration file might
  124.           appear as follows:
  125.  
  126.           OMI Configuration File Note:  Do NOT change the order of these
  127.           parameters, or delete any lines!
  128.  
  129.           "COM1"        Communications port ("COM2" or base/interrupt)
  130.           9600          Baud rate (typically 2400 or 9600)
  131.           8             Data bits (7 or 8)
  132.           1             Stop bits (1 or 2)
  133.           "NONE"        Parity (NONE, EVEN, ODD, MARK or SPACE)
  134.           "COMSPEC"     DOS Command Interpreter (usually "COMSPEC")
  135.           07            Attribute for normal text
  136.           70            Attribute for marked block text (reverse)
  137.           0F            Attribute for highlighted text (high intensity)
  138.           F0            Attribute for column number when log file is open
  139.           "omiput %s\r" Start of remote command to send (download) files
  140.           "omiget\r"    Remote command to receive (upload) files
  141.           440           Frequency of "bell" tone (Hz)
  142.           100           Duration of "bell" tone (ms)
  143.           256           Block size for file upload (1-256)
  144.           4             Number of block buffers for upload (1-8)
  145.           "YES"         Send "break" in response to framing error? (YES/NO)
  146.           350           Length of "break" (ms)
  147.           10000         Time to wait before giving up transfer (ms)
  148.           3000          Time to wait for first char before timeout (ms)
  149.           1000          Time to wait for subsequent chars in block (ms)
  150.           300           Send <c> every <n> seconds (0 means none)
  151.           "\0x00"       Char to send (<c>) every <n> seconds
  152.           "[OMI] %s"    DOS shell prompt format string
  153.           "\r"          Connect command for modem
  154.           ""            Disconnect command for modem
  155.  
  156.           The OMIPUT and OMIGET programs are often used from other
  157.           directories, so its useful to edit the setup to include their
  158.           directory as in:  "C:\HO\OMIPUT %s\r".
  159.  
  160.  
  161.           2.1 Trigger Strings
  162.  
  163.           Each of the remaining lines must contain 3 strings and a
  164.           number.  The first string is the trigger string to search
  165.           for.  The second string is the response to be sent after
  166.           finding the trigger.  The third string is the response to be
  167.           sent after timeout.  The number is the time to wait before
  168.           timeout (in ms).
  169.  
  170.  
  171.  
  172.  
  173.  
  174.           HANDS ON  Remote Access  File Transfers    Page 4
  175.  
  176.  
  177.  
  178.           "DISCONNECTED"      "\D250\r"          "\r"             5000
  179.           "Enter RESOURCE ? " "\D200G9000\r"     "\r"             5000
  180.           "CONNECTED TO"      ""                 ""               5000
  181.           "\rlogin: "         "\D200whoami\r"      "\B\r"           2000
  182.           "\nlogin: "         "\D200whoami\r"      "\B\r"           2000
  183.           "Password:"         "\D200secret\r"    "\r"            10000
  184.           "Selection: "       "\D100d\r"         ""              40000
  185.           "/users/"           ""                 ""              40000
  186.  
  187.  
  188.           - The serial port should be chosen to suit your own PC.  Only
  189.           the standard COM1 and COM2 ports are supported by name;  if
  190.           you want to use COM3, COM4 or non-standard interrupts, then
  191.           you must specify the I/O port base address and interrupt
  192.           number (e.g. COM1 is 03F8/0C).  It doesn't hurt to look at the
  193.           back of the machine to see what is attached to which port.
  194.  
  195.           - The baud rate should be chosen to match your modem or direct
  196.           connection.
  197.  
  198.           - Most computers now expect 8 data bits, so this line should
  199.           never need to be changed.
  200.  
  201.           - Most computers only require 1 stop bit, so this line should
  202.           never need to be changed.
  203.  
  204.           - Most computers no longer use parity, so this line should
  205.           never need to be changed.
  206.  
  207.           - This is the path name of your DOS command interpreter (for
  208.           example, C:/DOS/COMMAND.COM - note / not \).  However, if you
  209.           have an environment variable called "COMSPEC", then it is
  210.           better to use this instead (as in the sample file above).  The
  211.           best thing is to try shelling out to DOS using COMSPEC, and if
  212.           this does not work then try using an explicit path.
  213.  
  214.           - The next four lines determine the video attributes that OMNI
  215.           will use for various purposes.  The first hexadecimal digit
  216.           determines the background color, and the second digit
  217.           determines the foreground color.  If you do not like the
  218.           default colors, then you can play around with these to get the
  219.           effect you desire.
  220.  
  221.           - The example above shows the correct commands to download and
  222.           upload files on a UNIX system that has omiget and omiput
  223.           installed in one of the default directories.
  224.  
  225.           - You can change the frequency and duration of the "bell" that
  226.  
  227.  
  228.  
  229.  
  230.  
  231.           HANDS ON  Remote Access  File Transfers    Page 5
  232.  
  233.  
  234.  
  235.           OMNI sounds to get your attention.  The settings in the sample
  236.           above should be acceptable to most people.
  237.  
  238.           - The maximum possible block size for file upload is limited
  239.           by the size of the input buffer on the host computer.  256
  240.           will give best performance if the input buffer is big enough.
  241.           If errors occur frequently, then experiment with a smaller
  242.           value (see the following paragraph also).
  243.  
  244.           - The maximum number of blocks that can be sent during upload
  245.           without acknowledgement also depends on the size of the host
  246.           computer's input buffer.  If the input buffer is big enough,
  247.           then 8 blocks will work well.  If the input buffer is very
  248.           small, you may need to cut this down to 1 and even cut down
  249.           the size of that 1 (see the previous paragraph).
  250.  
  251.           - When logging in at speeds other than the default, many
  252.           computers have a bit of trouble working out what speed you are
  253.           using.  For example, you may be sending at 14400 baud, and the
  254.           host may be responding at 9600 baud!  In this situation it is
  255.           often necessary for you to send what is known as a "break" to
  256.           get the computer's attention.  OMNI can be installed to do
  257.           this automatically for you.
  258.  
  259.           - 350 ms seems to work well with most computers.  If the break
  260.           is too long then you may get disconnected.  If the break is
  261.           too short, then it may not be noticed...
  262.  
  263.           - After starting a file transfer, OMNI waits for some
  264.           acknowledgement that the host computer is ready to begin the
  265.           transfer.  If this acknowledgement does not appear, then
  266.           eventually OMNI must give up.
  267.  
  268.           - During file transfer, OMNI sends and receives "blocks" of
  269.           characters.  When OMNI is waiting for a block to be received,
  270.           it will only wait a limited time before sending a "wakeup"
  271.           message to the host computer.  You can choose how impatient
  272.           you want OMNI to be!
  273.  
  274.           - Once the first character in a block has been received, the
  275.           remainder of the block will normally follow at full speed.
  276.           Therefore, a much shorter gap in the middle of a block
  277.           probably means problems.
  278.  
  279.           - Some "intelligent" pads will log you out if you type nothing
  280.           for a few minutes.  OMNI can automatically send a character
  281.           every few minutes if you have not typed anything.  The "NULL"
  282.           character "\0x00" is usually quite harmless, and once every 5
  283.  
  284.  
  285.  
  286.  
  287.  
  288.           HANDS ON  Remote Access  File Transfers    Page 6
  289.  
  290.  
  291.  
  292.           minutes is frequent enough for most purposes.
  293.  
  294.           - If you shell out of OMNI to do something at the DOS level,
  295.           the prompt will be modified to remind you what is going on.
  296.  
  297.           - When OMNI first starts running, it will transmit the connect
  298.           command for the modem.  This may be a dialing command if you
  299.           will always be connecting via modem.
  300.  
  301.           - When OMNI finishes running, it will transmit the disconnect
  302.           command to the modem.  If your modem automatically hangs up
  303.           when the DTR signal is removed (or you have a direct line),
  304.           then you do not need anything here.  However, if your modem
  305.           ignores DTR, then you may need to send a command to make your
  306.           modem hang up the 'phone.
  307.  
  308.           - You may have noticed in the sample above special characters
  309.           like "\r", \0x00 and "\D333".  These are used to get
  310.           characters or effects that cannot be entered as part of the
  311.           normal string.  "\r" is the carriage return character.  "\n"
  312.           is the line feed character.  Any character can be coded by
  313.           entering its ASCII value in hexadecimal (for example, the
  314.           carriage return character (hex 0D) could be entered as
  315.           "\0x0D").  Delays (from 1/18th of a second to 255/18ths of a
  316.           second, but specified in milliseconds) can be entered with
  317.           special characters of the form "\D500." (half a second).  The
  318.           "." at the end of the number is ignored, and is only really
  319.           needed if a numeric digit needs to follow a delay.  "\B"
  320.           causes OMNI to send a BREAK.
  321.  
  322.           - When OMNI starts running, after sending the modem connect
  323.           command, it then starts looking for any of the trigger
  324.           strings.  If it finds one, it transmits the associated
  325.           response string, and marks the next line as the current
  326.           trigger string (if the final trigger string is detected, then
  327.           OMNI ceases checking for trigger strings).  If OMNI receives
  328.           nothing for longer than the timeout specified for the current
  329.           trigger string, then OMNI will send the timeout response
  330.           string for the current trigger string.
  331.  
  332.  
  333.  
  334.           3.0 Normal Operation
  335.  
  336.           Once OMNI (abbreviated OMI) has been correctly installed, you
  337.           should be able to enter a command such as:  OMI UNIX (use
  338.           configuration file UNIX.OMI) and you will then be fully logged
  339.           in without having to type anything!
  340.  
  341.  
  342.  
  343.  
  344.  
  345.           HANDS ON  Remote Access  File Transfers    Page 7
  346.  
  347.  
  348.  
  349.           Any normal key you type will be transmitted to the host
  350.           computer, and anything the host computer sends to you will be
  351.           displayed on your screen.  OMI can thus be used exactly like a
  352.           normal terminal.
  353.  
  354.           However, OMNI has some extra capabilities not usually found on
  355.           terminals:
  356.  
  357.           Key         OMI Action
  358.           ===         ==========
  359.  
  360.           <F1> display on-line help
  361.  
  362.           <F2> set normal attribute and clear input buffer use this if
  363.           your screen is left with odd colors, or if you want to stop
  364.           the automatic login sequence for any reason
  365.  
  366.           <Ctrl-F2> restart automatic login sequence
  367.  
  368.           <Alt-F2> toggle column number display
  369.  
  370.           <F3> pause display (works better than )
  371.  
  372.           <F4> resume display (instead of ) use these to stop text
  373.           scrolling off your screen before you can read it
  374.  
  375.           <F7> toggle LOG file (column number flashes if LOG file is
  376.           active) a log file records everything except "escape"
  377.           sequences that is displayed on your screen, so that you can
  378.           look at it later
  379.  
  380.           <F8> send DEL character (UNIX interrupt) probably only useful
  381.           on the UNIX system, to stop the current process without
  382.           producing a "core dump"
  383.  
  384.           <F9> send break to host computer this is the usual way to
  385.           abort a running program on a HP3000
  386.  
  387.           <F10> exit OMI (or Alt-X) you will be given the option to
  388.           shell out to DOS (so that you can return to OMI later) or to
  389.           exit OMI completely and disconnect the call
  390.  
  391.           <Ctrl-Home> redisplay recent text that has scrolled off the
  392.           screen this will allow you to scan back through about the last
  393.           four or five screens of text that have scrolled off your
  394.           screen - handy if something important just disappeared off the
  395.           top!  However, if you are interested in going a long way back
  396.           then it is better to start a log file
  397.  
  398.  
  399.  
  400.  
  401.  
  402.           HANDS ON  Remote Access  File Transfers    Page 8
  403.  
  404.  
  405.  
  406.           <Ctrl-PgUp> upload file using OMNI protocol use this to
  407.           transfer files from your PC to the host computer.  You can
  408.           transfer either text files or binary files.  You can specify
  409.           multiple files (for example, "*.DBF *.DAT" will transfer all
  410.           the files in the current directory that end with .DBF or
  411.           .DAT).  If the files you wish to transfer are not in the
  412.           current directory, then you can use <F10> to shell out to DOS,
  413.           change directory, and then exit back to OMI.
  414.  
  415.           <Ctrl-PgDn> download file using OMNI protocol Use this to
  416.           transfer files from the host computer to your PC.  You can use
  417.           the usual multiple file naming conventions of the host
  418.           computer when specifying files to download
  419.  
  420.           While a file transfer is taking place, a number will appear in
  421.           the top right corner of the screen.  This is the total number
  422.           of bytes remaining before the file transfer is completed.  The
  423.           display will also show the most recent error message, and an
  424.           indication of the efficiency of the transfer (relative to the
  425.           theoretical maximum possible efficiency).
  426.  
  427.           While a file transfer is taking place, you can also shell out
  428.           of OMI to use your computer for other purposes while the file
  429.           transfer takes place in the background.  The number of bytes
  430.           remaining will still be displayed in the top right corner of
  431.           the screen, so that you have some idea how the transfer is
  432.           going.
  433.  
  434.  
  435.  
  436.           4.0 Sample File Transfer Sequence
  437.  
  438.           The following is a step-by-step set of instructions for
  439.           transferring all the .DBF source files from SALES to a
  440.           sub-directory called PCSALES on the HP9000 (assuming that OMNI
  441.           is correctly installed):
  442.  
  443.           1) Make SALES the current directory, as in:  cd SALES
  444.  
  445.           2) Run OMI, as in:  omi unix You should now automatically be
  446.           completely logged in.
  447.  
  448.           3) Make the pcsales sub-directory the current working
  449.           directory at the host end:  cd pcsales
  450.  
  451.           4) Bring up the OMI file upload menu:  <Ctrl-PgUp> (hold down
  452.           the Control key, then type the PgUp key)
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.           HANDS ON  Remote Access  File Transfers    Page 9
  460.  
  461.  
  462.  
  463.           5) Select text file transfer:  1
  464.  
  465.           6) Enter the names of the files to be transferred:  *.DBF for
  466.           all the files that end in .DBF
  467.  
  468.           All the files will now be transferred!
  469.  
  470.           Read the WIZARD.txt for information on the Wizard and the
  471.           Wizard Feeder for ways to automate file transfers.
  472.  
  473.           4.1 Backups and similar file transfers
  474.  
  475.           Many people backup using tools like PCtools then transfer the
  476.           resulting files.  Others backup using the scheme shown above.
  477.           Registered users can ask for the BK backup tool that adds
  478.           smart backup capability to PKZIP, and can optionally use the
  479.           file encryption portions of PKZIP.
  480.  
  481.           You might also consider the QuickFix System, which allows you
  482.           to transfer file changes instead of complete files.  You only
  483.           transfer a file describing the file changes with a tool that
  484.           can update the changes on the original file.
  485.  
  486.  
  487.           4.2 File encryption
  488.  
  489.           Hands On and Omni allow you to choose various methods to
  490.           encrypt files.
  491.  
  492.           PKZIP, mentioned just above has an encryption option for North
  493.           American users.  The combination of encrypting and archiving
  494.           in one tool is very attractive.
  495.  
  496.           Most people can use their modem and communications software to
  497.           access a Bulletin Board System (BBS) and download a copy of
  498.           the Pretty Good Privacy software (PGP).  PGP does an excellent
  499.           job.
  500.  
  501.           This software package includes a tool called CRYPT.EXE, or
  502.           possibly TSCRYPT.EXE, that provides file encryption/decryption
  503.           capability.
  504.  
  505.  
  506.           5.0 SUPPORT and the ASP
  507.  
  508.           Please consider reporting the circumstances, preferably in
  509.           written form, to technical support when you discover problems
  510.           with the software.
  511.  
  512.  
  513.  
  514.  
  515.  
  516.           HANDS ON  Remote Access  File Transfers    Page 10
  517.  
  518.  
  519.  
  520.           For technical support, either call (604) 433-5189, or write to
  521.           Suite 606 - 6455 Willingdon Avenue, Burnaby, British Columbia,
  522.           Canada, V5H 4E4.  Both registered and soon to be registered
  523.           users currently get the same support without any arbitrary
  524.           time limit.  You may also try leaving a Compuserve message at
  525.           75020, 2664, but be aware that messages rapidly 'scroll off'
  526.           Compuserve.  The best electronic message area (also available
  527.           from Compuserve) is via the internet at:
  528.  
  529.           INTERNET:vic_williams@mindlink.bc.ca.
  530.  
  531.           P. C. Softsmith Suite 606 6455 Willingdon Ave Burnaby, B. C.,
  532.           Canada V5H 4E4
  533.  
  534.           (Hey, using internet mail is easy.  Try it!)
  535.  
  536.  
  537.           portions of this document are:
  538.           Copyright (C)1994-5  P. C. Softsmith  All Rights Reserved
  539.  
  540.  
  541.           ASP Introduction:
  542.  
  543.           Please also carefully read the accompanying SHR_WARE.txt
  544.           document.
  545.  
  546.           "This program is produced by a member of the Association of
  547.           Shareware Professionals (ASP). ASP wants to make sure that the
  548.           shareware principle works for you. If you are unable to
  549.           resolve a shareware-related problem with an ASP member by
  550.           contacting the member directly, ASP may be able to help. The
  551.           ASP Ombudsman can help you resolve a dispute or problem with
  552.           an ASP member, but does not provide technical support for
  553.           members' products. Please write to the ASP Ombudsman at 545
  554.           Grover Road, Muskegon, MI 49442 or send a CompuServe message
  555.           via CompuServe Mail to ASP Ombudsman 70007,3536."
  556.  
  557.  
  558.  
  559.           6.0 Warranty
  560.  
  561.           THE DOCUMENTATION AND ASSOCIATED SOFTWARE ARE DISTRIBUTED AND
  562.           SOLD WITH NO WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING
  563.           ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE.
  564.           THE INFORMATION IN THIS DOCUMENTATION IS SUBJECT TO CHANGE
  565.           WITHOUT NOTICE AND DOES NOT REPRESENT A COMMITTMENT ON THE
  566.           PART OF THE VENDOR.
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.           HANDS ON  Remote Access  File Transfers    Page 11
  574.  
  575.  
  576.  
  577.           OTHER PRODUCT AND BRAND NAMES MENTIONED ARE TRADEMARKS OR
  578.           REGISTERED TRADEMARKS OF THEIR RESPECTIVE HOLDERS.  FOR
  579.           INFORMATION ONLY, PORTIONS OF THIS DOCUMENT AND THE SOFTWARE
  580.           ARE LICENSED COPYRIGHT MATERIAL COURTESY DOUGLAS THOMSON
  581.  
  582.  
  583.  
  584.           7.0 Acknowledgments
  585.  
  586.           This product has been developed from TeleReplica with the
  587.           co-operation of the author, and a proportion of each
  588.           registration is being forwarded to Douglas Thomson.
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.